home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 September
/
EnigmA AMIGA RUN 30 (1998)(G.R. Edizioni)(IT)[!][issue 1998-09].iso
/
earkit
/
ftp
/
gui-ftp
/
rexx
/
getrecent.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-07-09
|
711b
|
31 lines
/* REXX */
/*
** An ARexx script to start Gui-FTP, connect to Aminet and get the file
** 'RECENT'
*/
parse upper arg PORTNAME
options results
if PORTNAME = "" then do
PORTNAME = "GUIFTP1" /* set default portname */
end
address command
"run ftp:gui-ftp" /* start Gui-FTP */
"waitforport" PORTNAME /* wait for it to initialise */
if RC = 0 then do /* program started OK */
address guiftp1 /* pass future commands to Gui-FTP */
open 'wuarchive.wustl.edu dir /aminet' /* connect to aminet */
get 'RECENT' /* get recent uploads */
/*
** put commands to download other files here
*/
end
else do
say "Port" PORTNAME "not found"
end